package com.thfw.test.model.authManage;

/**
 * Created by zhenglikun on 2017/4/6.
 */

public class AccountBean {


    /**
     * whiteboard : {"actived":true,"online":false,"data":{"whiteboardIp":"127.0.0.1","whiteboardPort":"5064"},"accountStateVo":{"id":4,"accId":1,"type":"whiteboard","actived":1,"lastOnline":"2017-03-27 16:41:51","modifyTime":"2017-03-23 13:40:45","ext":""}}
     * sip : {"actived":true,"online":false,"data":{"sipTel":"1000","sipPwd":"123abc","useSbc":0,"sipIp":"192.168.101.33","sipPort":"5060","sbcIp":"192.168.101.28","sbcPort":"5092","tlsPort":"5092"},"accountStateVo":{"id":1,"accId":1,"type":"sip","actived":1,"lastOnline":"2017-02-07 09:34:49","modifyTime":"2017-02-07 09:34:53","ext":""}}
     * basic : {"apolloIp":"192.168.106.53","apolloPort":"61613","msgQueueIp":"192.168.106.53","msgQueuePort":"8080"}
     * appMsg : {"actived":true,"online":false,"data":{"appMsgIp":"192.168.101.28","appMsgPort":"8080"},"accountStateVo":{"id":2,"accId":1,"type":"appMsg","actived":1,"lastOnline":"2017-02-07 09:35:05","modifyTime":"2017-02-07 09:35:29","ext":""}}
     */

    private WhiteboardBean whiteboard;
    private SipBean sip;
    private ApolloConfig basic;
    private AppMsgBean appMsg;
    private VideoBean video;

    public WhiteboardBean getWhiteboard() {
        return whiteboard;
    }

    public void setWhiteboard(WhiteboardBean whiteboard) {
        this.whiteboard = whiteboard;
    }

    public SipBean getSip() {
        return sip;
    }

    public void setSip(SipBean sip) {
        this.sip = sip;
    }

    public ApolloConfig getBasic() {
        return basic;
    }

    public void setBasic(ApolloConfig basic) {
        this.basic = basic;
    }

    public AppMsgBean getAppMsg() {
        return appMsg;
    }

    public void setAppMsg(AppMsgBean appMsg) {
        this.appMsg = appMsg;
    }

    public VideoBean getVideo() {
        return video;
    }

    public void setVideo(VideoBean video) {
        this.video = video;
    }

    public static class WhiteboardBean {
        /**
         * actived : true
         * online : false
         * data : {"whiteboardIp":"127.0.0.1","whiteboardPort":"5064"}
         * accountStateVo : {"id":4,"accId":1,"type":"whiteboard","actived":1,"lastOnline":"2017-03-27 16:41:51","modifyTime":"2017-03-23 13:40:45","ext":""}
         */

        private boolean actived;
        private boolean online;
        private WhiteboardConfig data;
        private WhiteboardState accountStateVo;

        public boolean isActived() {
            return actived;
        }

        public void setActived(boolean actived) {
            this.actived = actived;
        }

        public boolean isOnline() {
            return online;
        }

        public void setOnline(boolean online) {
            this.online = online;
        }

        public WhiteboardConfig getData() {
            return data;
        }

        public void setData(WhiteboardConfig data) {
            this.data = data;
        }

        public WhiteboardState getAccountStateVo() {
            return accountStateVo;
        }

        public void setAccountStateVo(WhiteboardState accountStateVo) {
            this.accountStateVo = accountStateVo;
        }

        public static class WhiteboardConfig {
            /**
             * whiteboardIp : 127.0.0.1
             * whiteboardPort : 5064
             */

            private String whiteboardIp;
            private String whiteboardPort;
            private String outWhiteboardIp;
            private String outWhiteboardPort;

            public String getWhiteboardIp() {
                return whiteboardIp;
            }

            public void setWhiteboardIp(String whiteboardIp) {
                this.whiteboardIp = whiteboardIp;
            }

            public String getWhiteboardPort() {
                return whiteboardPort;
            }

            public void setWhiteboardPort(String whiteboardPort) {
                this.whiteboardPort = whiteboardPort;
            }

            public String getOutWhiteboardIp() {
                return outWhiteboardIp;
            }

            public void setOutWhiteboardIp(String outWhiteboardIp) {
                this.outWhiteboardIp = outWhiteboardIp;
            }

            public String getOutWhiteboardPort() {
                return outWhiteboardPort;
            }

            public void setOutWhiteboardPort(String outWhiteboardPort) {
                this.outWhiteboardPort = outWhiteboardPort;
            }
        }

        public static class WhiteboardState {
            /**
             * id : 4
             * accId : 1
             * type : whiteboard
             * actived : 1
             * lastOnline : 2017-03-27 16:41:51
             * modifyTime : 2017-03-23 13:40:45
             * ext :
             */

            private int id;
            private int accId;
            private String type;
            private int actived;
            private String lastOnline;
            private String modifyTime;
            private String ext;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getAccId() {
                return accId;
            }

            public void setAccId(int accId) {
                this.accId = accId;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getActived() {
                return actived;
            }

            public void setActived(int actived) {
                this.actived = actived;
            }

            public String getLastOnline() {
                return lastOnline;
            }

            public void setLastOnline(String lastOnline) {
                this.lastOnline = lastOnline;
            }

            public String getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(String modifyTime) {
                this.modifyTime = modifyTime;
            }

            public String getExt() {
                return ext;
            }

            public void setExt(String ext) {
                this.ext = ext;
            }
        }
    }

    public static class SipBean {
        /**
         * actived : true
         * online : false
         * data : {"sipTel":"1000","sipPwd":"123abc","useSbc":0,"sipIp":"192.168.101.33","sipPort":"5060","sbcIp":"192.168.101.28","sbcPort":"5092","tlsPort":"5092"}
         * accountStateVo : {"id":1,"accId":1,"type":"sip","actived":1,"lastOnline":"2017-02-07 09:34:49","modifyTime":"2017-02-07 09:34:53","ext":""}
         */

        private boolean actived;
        private boolean online;
        private SipConfig data;
        private SipState accountStateVo;

        public boolean isActived() {
            return actived;
        }

        public void setActived(boolean actived) {
            this.actived = actived;
        }

        public boolean isOnline() {
            return online;
        }

        public void setOnline(boolean online) {
            this.online = online;
        }

        public SipConfig getData() {
            return data;
        }

        public void setData(SipConfig data) {
            this.data = data;
        }

        public SipState getAccountStateVo() {
            return accountStateVo;
        }

        public void setAccountStateVo(SipState accountStateVo) {
            this.accountStateVo = accountStateVo;
        }

        public static class SipConfig {
            /**
             * sipTel : 1000
             * sipPwd : 123abc
             * useSbc : 0
             * sipIp : 192.168.101.33
             * sipPort : 5060
             * sbcIp : 192.168.101.28
             * sbcPort : 5092
             * tlsPort : 5092
             */

            private String sipTel;
            private String sipPwd;
            private int useSbc;
            private String sipIp;
            private String sipPort;
            private String natIp;
            private String sbcIp;
            private String sbcPort;
            private String tlsPort;

            public String getSipTel() {
                return sipTel;
            }

            public void setSipTel(String sipTel) {
                this.sipTel = sipTel;
            }

            public String getSipPwd() {
                return sipPwd;
            }

            public void setSipPwd(String sipPwd) {
                this.sipPwd = sipPwd;
            }

            public int getUseSbc() {
                return useSbc;
            }

            public void setUseSbc(int useSbc) {
                this.useSbc = useSbc;
            }

            public String getSipIp() {
                return sipIp;
            }

            public void setSipIp(String sipIp) {
                this.sipIp = sipIp;
            }

            public String getSipPort() {
                return sipPort;
            }

            public void setSipPort(String sipPort) {
                this.sipPort = sipPort;
            }

            public String getNatIp() {
                return natIp;
            }

            public void setNatIp(String natIp) {
                this.natIp = natIp;
            }

            public String getSbcIp() {
                return sbcIp;
            }

            public void setSbcIp(String sbcIp) {
                this.sbcIp = sbcIp;
            }

            public String getSbcPort() {
                return sbcPort;
            }

            public void setSbcPort(String sbcPort) {
                this.sbcPort = sbcPort;
            }

            public String getTlsPort() {
                return tlsPort;
            }

            public void setTlsPort(String tlsPort) {
                this.tlsPort = tlsPort;
            }
        }

        public static class SipState {
            /**
             * id : 1
             * accId : 1
             * type : sip
             * actived : 1
             * lastOnline : 2017-02-07 09:34:49
             * modifyTime : 2017-02-07 09:34:53
             * ext :
             */

            private int id;
            private int accId;
            private String type;
            private int actived;
            private String lastOnline;
            private String modifyTime;
            private String ext;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getAccId() {
                return accId;
            }

            public void setAccId(int accId) {
                this.accId = accId;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getActived() {
                return actived;
            }

            public void setActived(int actived) {
                this.actived = actived;
            }

            public String getLastOnline() {
                return lastOnline;
            }

            public void setLastOnline(String lastOnline) {
                this.lastOnline = lastOnline;
            }

            public String getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(String modifyTime) {
                this.modifyTime = modifyTime;
            }

            public String getExt() {
                return ext;
            }

            public void setExt(String ext) {
                this.ext = ext;
            }
        }
    }

    public static class ApolloConfig {
        /**
         * apolloIp : 192.168.106.53
         * apolloPort : 61613
         * msgQueueIp : 192.168.106.53
         * msgQueuePort : 8080
         */

        private String apolloIp;
        private String apolloPort;
        private String outApolloIp;
        private String outApolloPort;
        private String msgQueueIp;
        private String msgQueuePort;

        public String getApolloIp() {
            return apolloIp;
        }

        public void setApolloIp(String apolloIp) {
            this.apolloIp = apolloIp;
        }

        public String getApolloPort() {
            return apolloPort;
        }

        public void setApolloPort(String apolloPort) {
            this.apolloPort = apolloPort;
        }

        public String getMsgQueueIp() {
            return msgQueueIp;
        }

        public void setMsgQueueIp(String msgQueueIp) {
            this.msgQueueIp = msgQueueIp;
        }

        public String getMsgQueuePort() {
            return msgQueuePort;
        }

        public void setMsgQueuePort(String msgQueuePort) {
            this.msgQueuePort = msgQueuePort;
        }

        public String getOutApolloIp() {
            return outApolloIp;
        }

        public void setOutApolloIp(String outApolloIp) {
            this.outApolloIp = outApolloIp;
        }

        public String getOutApolloPort() {
            return outApolloPort;
        }

        public void setOutApolloPort(String outApolloPort) {
            this.outApolloPort = outApolloPort;
        }
    }

    public static class AppMsgBean {
        /**
         * actived : true
         * online : false
         * data : {"appMsgIp":"192.168.101.28","appMsgPort":"8080"}
         * accountStateVo : {"id":2,"accId":1,"type":"appMsg","actived":1,"lastOnline":"2017-02-07 09:35:05","modifyTime":"2017-02-07 09:35:29","ext":""}
         */

        private boolean actived;
        private boolean online;
        private AppMsgConfig data;
        private AppMsgState accountStateVo;

        public boolean isActived() {
            return actived;
        }

        public void setActived(boolean actived) {
            this.actived = actived;
        }

        public boolean isOnline() {
            return online;
        }

        public void setOnline(boolean online) {
            this.online = online;
        }

        public AppMsgConfig getData() {
            return data;
        }

        public void setData(AppMsgConfig data) {
            this.data = data;
        }

        public AppMsgState getAccountStateVo() {
            return accountStateVo;
        }

        public void setAccountStateVo(AppMsgState accountStateVo) {
            this.accountStateVo = accountStateVo;
        }

        public static class AppMsgConfig {
            /**
             * appMsgIp : 192.168.101.28
             * appMsgPort : 8080
             */

            private String appMsgIp;
            private String appMsgPort;
            private String outAppMsgIp;
            private String outAppMsgPort;

            public String getAppMsgIp() {
                return appMsgIp;
            }

            public void setAppMsgIp(String appMsgIp) {
                this.appMsgIp = appMsgIp;
            }

            public String getAppMsgPort() {
                return appMsgPort;
            }

            public void setAppMsgPort(String appMsgPort) {
                this.appMsgPort = appMsgPort;
            }

            public String getOutAppMsgIp() {
                return outAppMsgIp;
            }

            public void setOutAppMsgIp(String outAppMsgIp) {
                this.outAppMsgIp = outAppMsgIp;
            }

            public String getOutAppMsgPort() {
                return outAppMsgPort;
            }

            public void setOutAppMsgPort(String outAppMsgPort) {
                this.outAppMsgPort = outAppMsgPort;
            }
        }

        public static class AppMsgState {
            /**
             * id : 2
             * accId : 1
             * type : appMsg
             * actived : 1
             * lastOnline : 2017-02-07 09:35:05
             * modifyTime : 2017-02-07 09:35:29
             * ext :
             */

            private int id;
            private int accId;
            private String type;
            private int actived;
            private String lastOnline;
            private String modifyTime;
            private String ext;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getAccId() {
                return accId;
            }

            public void setAccId(int accId) {
                this.accId = accId;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getActived() {
                return actived;
            }

            public void setActived(int actived) {
                this.actived = actived;
            }

            public String getLastOnline() {
                return lastOnline;
            }

            public void setLastOnline(String lastOnline) {
                this.lastOnline = lastOnline;
            }

            public String getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(String modifyTime) {
                this.modifyTime = modifyTime;
            }

            public String getExt() {
                return ext;
            }

            public void setExt(String ext) {
                this.ext = ext;
            }
        }
    }

    public static class VideoBean {
        private boolean actived;
        private boolean online;
        /**
         * scVideoIp : 192.168.101.28
         * scVideoPort : 8080
         */

        private VideoConfig data;
        /**
         * id : 46
         * accId : 39
         * type : video
         * actived : 1
         * modifyTime : 2017-04-14 20:23:10
         * ext :
         */

        private VideoState accountStateVo;

        public boolean isActived() {
            return actived;
        }

        public void setActived(boolean actived) {
            this.actived = actived;
        }

        public boolean isOnline() {
            return online;
        }

        public void setOnline(boolean online) {
            this.online = online;
        }

        public VideoConfig getData() {
            return data;
        }

        public void setData(VideoConfig data) {
            this.data = data;
        }

        public VideoState getAccountStateVo() {
            return accountStateVo;
        }

        public void setAccountStateVo(VideoState accountStateVo) {
            this.accountStateVo = accountStateVo;
        }

        public static class VideoConfig {
            private String scVideoIp;
            private String scVideoPort;
            private String outScVideoIp;
            private String outScVideoPort;

            public String getScVideoIp() {
                return scVideoIp;
            }

            public void setScVideoIp(String scVideoIp) {
                this.scVideoIp = scVideoIp;
            }

            public String getScVideoPort() {
                return scVideoPort;
            }

            public void setScVideoPort(String scVideoPort) {
                this.scVideoPort = scVideoPort;
            }

            public String getOutScVideoIp() {
                return outScVideoIp;
            }

            public void setOutScVideoIp(String outScVideoIp) {
                this.outScVideoIp = outScVideoIp;
            }

            public String getOutScVideoPort() {
                return outScVideoPort;
            }

            public void setOutScVideoPort(String outScVideoPort) {
                this.outScVideoPort = outScVideoPort;
            }
        }

        public static class VideoState {
            private int id;
            private int accId;
            private String type;
            private int actived;
            private String modifyTime;
            private String ext;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getAccId() {
                return accId;
            }

            public void setAccId(int accId) {
                this.accId = accId;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getActived() {
                return actived;
            }

            public void setActived(int actived) {
                this.actived = actived;
            }

            public String getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(String modifyTime) {
                this.modifyTime = modifyTime;
            }

            public String getExt() {
                return ext;
            }

            public void setExt(String ext) {
                this.ext = ext;
            }
        }
    }

}
